﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ReallyReallyReallySimpleRoguelike.Managers;
namespace ReallyReallyReallySimpleRoguelike.Screens
{
    class KeyTestScreen:Screen
    {

        public KeyTestScreen()
        { 
            
        }

        public override void Show()
        {
            Console.Clear();
 
            //just a super basic example
            Console.ForegroundColor = ConsoleColor.White;
            Console.Write("You are thrown into the dungeon.  Find a sword and fight your way out.");

            DungeonManager.Instance.PlaySound(SoundList.Pluck);
            
            bool Test = true;
            List<ConsoleKeyInfo> List = new List<ConsoleKeyInfo>();
            while (Test)
            {
                DungeonManager.Instance.InputManager.ReadKeys();



                //if (DungeonManager.Instance.InputManager.KeyReleased(ConsoleKey.B))
                //{
                //    List.Add(DungeonManager.Instance.InputManager.currentKey);
                //    //Test = false;
                //}
            }



        }
    }
}
